package com.example.vehicleservice.config;

import org.springframework.context.annotation.Configuration;


/**
 * @author cc
 * @classname SeataConfiguration
 * @description TODO
 * @date 2022/6/11 19:24
 */
@Configuration
public class SeataConfiguration {
    //@Bean
    //@ConfigurationProperties(prefix = "spring.datasource")
    //public DruidDataSource druidDataSource() {
    //    return new DruidDataSource();
    //}
    //
    //@Bean("dataSource")
    //@Primary
    //public DataSource dataSourceDelegation(DruidDataSource druidDataSource) {
    //    return new DataSourceProxy(druidDataSource);
    //}
}
